<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传</title>
</head>
<body>

<form action="http://127.0.0.1:8000/upload" method="post" enctype="multipart/form-data">
    头像: <input type="file" name="file">
    <!--   上传多个文件: -->
    <!--    <input type="file" name="files" multiple>-->

    <br>
    <input type="submit" value="提交">
</form>

</body>
</html>